/////////////////////////////////////////////////////////////////////////////
// Name:        dgt_StoreTab.h
// Purpose:     
// Author:      Aleksey Plotnikov & Alla Nabatova
// Modified by: 
// Created:     19/03/2008 23:56:23
// RCS-ID:      
// Copyright:   Diamant Software
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _DGT_STORETAB_H_
#define _DGT_STORETAB_H_

#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "dgt_StoreTab.h"
#endif

/*!
 * Includes
 */

////@begin includes
#include "wx/grid.h"
////@end includes

#include "dgt_PluginGrid.h"



/*!
 * Forward declarations
 */

////@begin forward declarations
class dgt_StoreTab;
class dgt_PluginGrid;
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_STORETAB 10010
#define ID_GRID2 10016
#define SYMBOL_DGT_STORETAB_STYLE wxNO_BORDER|wxTAB_TRAVERSAL
#define SYMBOL_DGT_STORETAB_IDNAME ID_STORETAB
#define SYMBOL_DGT_STORETAB_SIZE wxDefaultSize
#define SYMBOL_DGT_STORETAB_POSITION wxDefaultPosition
////@end control identifiers


/*!
 * dgt_StoreTab class declaration
 */

class dgt_StoreTab: public wxPanel
{    
    DECLARE_DYNAMIC_CLASS( dgt_StoreTab )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    dgt_StoreTab();
    dgt_StoreTab(wxWindow* parent, wxWindowID id = ID_STORETAB, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSUNKEN_BORDER|wxTAB_TRAVERSAL);

    /// Creation
    bool Create(wxWindow* parent, wxWindowID id = ID_STORETAB, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSUNKEN_BORDER|wxTAB_TRAVERSAL);

    /// Destructor
    ~dgt_StoreTab();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin dgt_StoreTab event handler declarations

    /// wxEVT_GRID_CELL_LEFT_CLICK event handler for ID_GRID2
    void OnCellLeftClick( wxGridEvent& event );

////@end dgt_StoreTab event handler declarations

////@begin dgt_StoreTab member function declarations

    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end dgt_StoreTab member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin dgt_StoreTab member variables
    dgt_PluginGrid* m_StoreGrid;
    wxStaticText* m_AboutPl;
////@end dgt_StoreTab member variables
	/*************************functions**************************/
	void SetPluginInfo();
private:
	wxArrayString array_string;
};

#endif
    // _DGT_STORETAB_H_
